terraform {
  required_version = "~> 1.4.5"

  required_providers {
    maas = {
      source  = "terraform.local/local/maas"
      version = "1.1.1"
    }
  }
  backend "oss" {
    bucket              = "deeproute-terraform-resources"
    key                 = "prod/maas/prod-data-k8s-cluster"
    tablestore_endpoint = "https://terraform-status.cn-shenzhen.ots.aliyuncs.com"
    tablestore_table    = "terraform_statelock_table_v3"    
    region              = "cn-shenzhen"
  }  
}

provider "maas" {
    api_version = "2.0"
    api_key     = "8F5rTQr9EupWNsCEKz:YEuaxZBqSnDyT9kNCK:gkgBGDD4vMMANML6Hx6UeNWQUduYwHaz"
    api_url     = "http://10.3.8.6:5240/MAAS"
}
